package com.ule.merchant.order.mon.service.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
@TableName("LGS_ORDER")
public class LgsOrder implements Serializable {
    @TableId()
    private Long id;
    // 承运商订单号
    private String orderNo;
    // 订单创建时间
    private Date orderCreateTime;
    // 订单状态
    private Integer orderStatus;
    // 订单来源;1-零售，2-批销，3-集采
    private Integer orderSource;
    // 承运商CODE
    private String expressCode;
    // 承运商名
    private String expressName;
    // 包裹单号(快递单号)
    private String expressNo;
    // 包裹状态
    private Integer parcelStatus;
    // 包裹重量(g)
    private Integer parcelWeight;
    // 注册时间
    private Date registerTime;
    // 揽收时间
    private Date receiptTime;
    // 妥投时间
    private Date signTime;
    // 发货省CODE
    private String senderProvinceCode;
    // 发货省
    private String senderProvinceName;
    // 发货市CODE
    private String senderCityCode;
    // 发货市
    private String senderCityName;
    // 发货区县CODE
    private String senderCountyCode;
    // 发货区县
    private String senderCountyName;
    // 发货乡镇/街道CODE
    private String senderTownCode;
    // 发货乡镇/街道
    private String senderTownName;
    // 发货人地址
    private String senderAddress;
    // 发货人(联系人或仓库名)
    private String senderName;
    // 发货人电话
    private String senderPhone;
    // 发货人手机
    private String senderMobile;
    // 发货人邮编
    private String senderZipCode;
    // 收货省CODE
    private String receiverProvinceCode;
    // 收货省
    private String receiverProvinceName;
    // 收货市CODE
    private String receiverCityCode;
    // 收货市
    private String receiverCityName;
    // 收货区县CODE
    private String receiverAreaCode;
    // 收货区县
    private String receiverAreaName;
    // 收货乡镇/街道CODE
    private String receiverTownCode;
    // 收货乡镇/街道
    private String receiverTownName;
    // 收货人地址
    private String receiverAddress;
    // 收货人姓名
    private String receiverName;
    // 收货人电话
    private String receiverPhone;
    // 收货人手机
    private String receiverMobile;
    // 收货人邮编
    private String receiverZipCode;
    // 大字
    private String bigWord;
    // 集包地
    private String parcelPlace;
    // 集包地编码
    private String parcelPlaceCode;
    // 备注
    private String remark;
    // 删除标识
    @TableLogic
    private Integer deleteFlag = 0;
    // 乐观锁
    @Version
    private Integer revision = 1;
    // 创建人
    private String rowCreateUser;
    // 创建时间
    private Date rowCreateTime;
    // 更新人
    private String rowUpdateUser;
    // 更新时间
    @TableField(value = "ROW_LASTUPDATE_TIME")
    private Date rowLastUpdateTime;
    //保价费
    private Double parcelInsuranceFee;
    // 预计送达时间
    private Date estimatedArrivalTime;
}
